package com.xayy.health.mgt.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author zhangxa
 */
@Data
@Accessors(chain = true)
public class TaskFaultPredictDataVo {
    @ApiModelProperty(value = "子任务ID", required = true)
    @NotEmpty(message = "子任务ID不能为空")
    private Long taskChildId;

    @ApiModelProperty(value = "卫星代号", required = true)
    @NotEmpty(message = "卫星代号不能为空")
    private String satelliteCode;

    @ApiModelProperty(value = "参数", notes = "多选传这个", required = true)
    @NotEmpty(message = "参数不能为空")
    private String[] paramCodes;

    @ApiModelProperty(value = "参数", notes = "单选传这个", required = true)
    @NotEmpty(message = "参数不能为空")
    private String paramCode;

    @JSONField(format = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间", required = true)
    @NotEmpty(message = "开始时间不能为空")
    private Date startTime;

    @JSONField(format = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间", required = true)
    @NotEmpty(message = "结束时间不能为空")
    private Date endTime;

    @ApiModelProperty(value = "是否是案例一", required = true)
    private Integer isCaseOne;

    @ApiModelProperty(value = "当前页", required = true)
    private Integer page = 0;

    @ApiModelProperty(value = "总数", required = true)
    private Integer size = 10;

}
